{#**
*
* 功能描述（订单打印模板）
*
* @author suoya <jlusuoya@gmail.com>
* @version 1
*#}
{#include file="define.tpl" scope=parent#}
        <table class="print" cellpladding="0" cellspacing="0">
            <tr height="91px">
                <td>
                    <table border="0" cellpladding="0" cellspacing="0" width="100%" height="100%">
                        <tr height="51px">
                            <td width="10px">&nbsp;</td>
                            <td>
                                <img src="images/header_logo_1.png" height="51px" width="133px" />
                            </td>
                            <td width="264px" align="center" style="vertical-align: bottom;">梵地蛋糕</td>
                            <td width="20px">&nbsp;</td>
                        </tr>
                        <tr height="18px">
                            <td>&nbsp;</td>
                            <td>Http://www.fantasy-land.cn</td>
                            <td align="center">Fan Di Cake</td>
                            <td>&nbsp;</td>
                        </tr>
                        <tr height="22px" style="font-size: 17px;">
                            <td align="center" colspan="3">
                                SALES ORDER 销售订单
                            </td>
                            <td>&nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr height="437px">
                <td>
                    <table cellpladding="0" cellspacing="0" width="100%" height="100%" style="border-bottom: 1px solid #000000;">
                        <tr>
                            <td style="border-right: 1px solid #000000;">
                                <table cellpladding="0" cellspacing="0" width="100%" height="100%" border="0">
                                    <tr height="18px">
                                        <td>
                                            <table cellpladding="0" cellspacing="0" width="100%" height="100%" border="0">
                                                <tr>
                                                    <td width="10px">&nbsp;</td>
                                                    <td width="230px">Date日期：{#$data['createtime']|date_format:"%Y-%m-%d"#}</td>
                                                    <td width="350px" align="center">{#$g_ordertype[$data['type']]#} {#if $data['add_adm'] == 0#}网络订单{#else#}<a href="#" onclick="return showadm({#$data['cofm_adm']#})">电话订单</a>{#/if#}</td>
                                                    <td>NO:{#$data['id']+$orderid_base#}</td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table cellpladding="0" cellspacing="0" width="100%" height="100%" style="border-bottom: 1px solid #000000; border-top: 1px solid #000000;">
                                                <tr height="38px">
                                                    <td align="center" width="85px" class="border_right">Customer<br />订货人</td>
                                                    <td width="104px">&nbsp;</td>
                                                    <td align="right" width="74px"><input disabled type="checkbox" />先生</td>
                                                    <td align="right" width="83px" class="border_right"><input disabled type="checkbox" />女士</td>
                                                    <td align="center" width="85px" class="border_right border_bottom">订货电话</td>
                                                    <td width="155px" colspan="2" class="border_right">&nbsp;{#$data['mobile_from']#}</td>
                                                    <td align="center">Customer No<br />客户卡号：</td>
                                                </tr>
                                                <tr height="38px">
                                                    <td align="center" class="border_right border_top border_bottom">Destination<br />送货地址</td>
                                                    <td colspan="3" class="border_right border_top border_bottom">&nbsp;{#$data['area']#}{#$data['address']#}{#if isset($data['address'])#}&nbsp;标记建筑：{#$data['sign_building']#}{#/if#} {#$data['consignee']#}（收）</td>
                                                    <td align="center" width="85px" class="border_right border_bottom">收货电话</td>
                                                    <td colspan="2" class="border_right border_top border_bottom">&nbsp;{#$data['mobile_to']#}</td>
                                                    <td class="border_top border_bottom">&nbsp;</td>
                                                </tr>
                                                <tr height="38px">
                                                    <td align="center" class="border_right border_bottom">Payment<br />收款地址</td>
                                                    <td colspan="3" class="border_right border_bottom">&nbsp;</td>
                                                    <td align="center" class="border_right border_bottom">Require Time 收货时间</td>
                                                    <td colspan="2" class="border_right border_bottom">&nbsp;{#$data['delivery_time']#}</td>
                                                    <td align="center" class="border_bottom">accumulate<br />目前积分</td>
                                                </tr>
                                                <tr height="20px">
                                                    <td colspan="7" class="border_right border_bottom">&nbsp;&nbsp;pay form 支付形式：{#$p_type[$data['pay_type']]#}</td>
                                                    <td class="border_bottom">&nbsp;</td>
                                                </tr>
                                                <tr height="24px">
                                                    <td align="center" colspan="2" class="border_right border_bottom">Lazy Card至尊懒人卡号/金额</td>
                                                    <td align="right" class="border_right border_bottom">0&nbsp;</td>
                                                    <td align="right" class="border_right border_bottom">￥0.00&nbsp;</td>
                                                    <td align="center" class="border_right border_bottom">本次支出</td>
                                                    <td align="right" class="border_right border_bottom">￥0.00&nbsp;</td>
                                                    <td align="center" class="border_right border_bottom">余额</td>
                                                    <td align="right" class="border_bottom">￥0.00&nbsp;</td>
                                                </tr>
                                                <tr height="3px">
                                                    <td colspan="8" class="border_bottom"></td>
                                                </tr>
                                                <tr height="30px">
                                                    <td align="center" class="border_right border_bottom">number<br />商品编号</td>
                                                    <td align="center" class="border_right border_bottom">sort<br />商品品种</td>
                                                    <td align="center" class="border_right border_bottom">diment<br />规格（磅）</td>
                                                    <td align="center" class="border_right border_bottom">per Price<br />单价</td>
                                                    <td align="center" class="border_right border_bottom">Num(per)<br />数量（颗）</td>
                                                    <td align="center" class="border_right border_bottom">Price<br />价格</td>
                                                    <td align="center" colspan="2" class="border_bottom">Note 要求</td>
                                                </tr>
                                                <tr height="20px">
                                                    <td colspan="6" rowspan="2" align="center">
                                                        <table border="0" cellpladding="0" cellspacing="0" width="100%" height="100%">
                                                            {#foreach $goods as $item#}
                                                                <tr height="20px">
                                                                    <td width="85px;" class="border_right border_bottom">&nbsp;</td>
                                                                    <td width="103px;" class="border_right border_bottom">&nbsp;</td>
                                                                    <td width="73px;" class="border_right border_bottom">&nbsp;{#$item['size']#}</td>
                                                                    <td width="83px;" class="border_right border_bottom">&nbsp;￥{#$item['price']#}</td>
                                                                    <td width="85px;" class="border_right border_bottom">&nbsp;{#$item['cnt']#}</td>
                                                                    <td class="border_right border_bottom">￥{#$item['price'] * $item['discount']#}</td>
                                                                </tr>
                                                            {#/foreach#}
                                                        </table>
                                                    </td>
                                                    <td colspan="2">产品图册：<input disabled type="checkbox" {#if $data['attach1'] == 1#}checked{#/if#}/></td>
                                                </tr>
                                                <tr height="20px">
                                                    <td colspan="2">生日蜡烛：<input disabled type="checkbox" {#if $data['attach2'] == 1#}checked{#/if#}/></td>
                                                </tr>
                                                <tr height="20px">
                                                    <td align="center" class="border_right border_bottom">大写</td>
                                                    <td colspan="4" class="border_right border_bottom"><script>document.write(NoToChinese({#$data['amount']#}));</script>元整</td>
                                                    <td class="border_right border_bottom">￥{#$data['amount']#}</td>
                                                    <td colspan="2" class="border_bottom">&nbsp;</td>
                                                </tr>
                                                <tr height="20px">
                                                    <td colspan="2" class="border_bottom">制单人：</td>
                                                    <td colspan="2" class="border_bottom">审核人：</td>
                                                    <td colspan="2" class="border_bottom">出品部：</td>
                                                    <td colspan="2" class=" border_bottom">送货人：</td>
                                                </tr>
                                                <tr>
                                                    <td align="center" rowspan="2" class="border_right">Note 备注</td>
                                                    <td rowspan="2" colspan="4" class="border_right">1.收货人对于所订商品品种确认。确认：<input disabled type="checkbox" /><br />2.为保障您的消费权益、质量服务，投诉电话： 4006789527，我们将第一时间答复受理，感谢您的指正！<br />3.如您此次消费体验满意，请在大众点评网为我们加油！可获取1分会员加分，感谢您的支持！</td>
                                                    <td align="center" class="border_right border_bottom">Signature<br />收货人签收</td>
                                                    <td colspan="2" class="border_bottom">&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td align="center" class="border_right">Arrival time<br />收货时间</td>
                                                    <td align="center" colspan="2">时&nbsp;&nbsp;&nbsp;&nbsp;分</td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="18px">
                                        <td align="center">
                                            Call Vcake: 400-6789-527&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;公司地址：深圳市南山区龙珠四路本钢工贸大厦6楼北&nbsp;&nbsp;邮编：518000
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td align="center" width="20px"><img src="images/order_border.png" height="362px" width="15px" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
	{#if !isset($g_ext['debug']) && isset($g_ext['print'])#}<script>window.onload=function() { window.print(); } </script>{#/if#}
